<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>Document</title>
</head>

<body>
  <div id="app">
    <select v-model="fruits">
        <option value="苹果">苹果</option>
        <option value="苹果1">苹果1</option>
        <option value="苹果2">苹果2</option>
      </select>
    <p>您的选择是：{{fruits}}</p>

    <select v-model="fruits1" multiple>
        <option value="苹果">苹果</option>
        <option value="苹果1">苹果1</option>
        <option value="苹果2">苹果2</option>
      </select>
    <p>您的选择是：{{fruits1}}</p>
  </div>
  <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
  <script>
    const app = new Vue({
      el: "#app",
      data: {
        message: "hello",
        fruits: ["苹果"],
        fruits1: [],
      },
    });
  </script>
</body>

</html>